package com.paygate.controller

import com.paygate.long
import com.paygate.service.PayService
import org.springframework.http.MediaType
import org.springframework.http.ResponseEntity
import org.springframework.stereotype.Controller
import org.springframework.ui.Model
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RequestParam
import javax.annotation.Resource

@Controller
@RequestMapping("/checkout")
open class CheckoutController {

    @Resource
    lateinit var payService: PayService

    @GetMapping("")
    fun payPage(): String {
        return "checkout2"
    }
}